home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
dev
/
lang
/
SmallEiffel.lha
/
SmallEiffel
/
man
/
print_jvm_class.txt
< prev
next >
Wrap
Text File
|
1998-12-22
|
1KB
|
41 lines
The print_jvm_class command
Usage
print_jvm_class <Path>[.class]
Command print_jvm_class prints a human readable version of the <Path>
class file. Printing is done on standard output. This command was
developed to check the byte code produced by command compile_to_jvm.
It is useful only if you want to have a close look at the generated
Java byte code.
This command may also be used to print Java byte code you obtained
with Java compilers, such as javac. We find the output of
print_jvm_class more readable than the output of javap.
Examples
First, you have to produce some class files using command
compile_to_jvm:
compile_to_jvm -boost hello_world
Then, using command print_to_jvm_class you can print on standard
output a readable view of any produced class file. The following
command prints the main class :
print_jvm_class hello_world.class
You can also print any class file of the hello_world directory. For
example, under Unix, you can print the byte code produced for class
INTEGER using command :
print_jvm_class hello_world/integer.class
[Line]
Copyright © Dominique COLNET and Suzanne COLLIN - [1]<colnet@loria.fr>
Last update: Tuesday June 9th, 1998
References
1. mailto:colnet@loria.fr